package com.topdt.jbpm.model;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;

import com.thx.file.model.File;

/**
 * 
 * 建立日期 : 2013-6-24 下午04:32:11<br>
 * 作者 : shiyan<br>
 * 模块 : <br>
 * 描述 : <br>
 * 修改历史: 序号 日期 修改人 修改原因 <br>
 * 1 <br>
 * 2 <br>
 */
@Entity
@Table(name = "wf_work_attach")
public class WorkAttach extends JbpmModel{
	private static final long serialVersionUID = 6255239393084189204L;
	@Id
	@GeneratedValue(generator = "generator")
	@GenericGenerator(name = "generator", strategy = "uuid")
	@Column(length = 32)
	private String attachId;//附件id
	private String workId;//工单id
	private String todoId;//代办id
	
	private String handlerName;//处理者
	private String fileId;//文件id
	@Transient
	private File sysFile;//文件对象

	//以下字段暂时不用
	private String activityName;
	private String realName;
	private String nowFullName;
	private String uploadTime;
	private String tempName;//临时文件名      上传附件的时候用到     
	private String swfFullName;//20141215 BY LCX swf全路径
	private String htmlFullName;//20150121 wangxufeng add html全路径
	
	
	public String getAttachId() {
		return attachId;
	}
	public void setAttachId(String attachId) {
		this.attachId = attachId;
	}
	public String getWorkId() {
		return workId;
	}
	public void setWorkId(String workId) {
		this.workId = workId;
	}
	public String getTodoId() {
		return todoId;
	}
	public void setTodoId(String todoId) {
		this.todoId = todoId;
	}
	public String getActivityName() {
		return activityName;
	}
	public void setActivityName(String activityName) {
		this.activityName = activityName;
	}
	public String getHandlerName() {
		return handlerName;
	}
	public void setHandlerName(String handlerName) {
		this.handlerName = handlerName;
	}
	public String getRealName() {
		return realName;
	}
	public void setRealName(String realName) {
		this.realName = realName;
	}
	public String getNowFullName() {
		return nowFullName;
	}
	public void setNowFullName(String nowFullName) {
		this.nowFullName = nowFullName;
	}
	public String getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(String uploadTime) {
		this.uploadTime = uploadTime;
	}
	public String getFileId() {
		return fileId;
	}
	public void setFileId(String fileId) {
		this.fileId = fileId;
	}
	public String getTempName() {
		return tempName;
	}
	public void setTempName(String tempName) {
		this.tempName = tempName;
	}
	public String getSwfFullName() {
		return swfFullName;
	}
	public void setSwfFullName(String swfFullName) {
		this.swfFullName = swfFullName;
	}
	public String getHtmlFullName() {
		return htmlFullName;
	}
	public void setHtmlFullName(String htmlFullName) {
		this.htmlFullName = htmlFullName;
	}
  public File getSysFile() {
    return sysFile;
  }
  public void setSysFile(File sysFile) {
    this.sysFile = sysFile;
  }
	
	
}



